
import Vue from 'vue';
import App from './App';
import router from './router';
import mint from 'mint-ui';
Vue.use(mint)
import moment from 'moment';
import 'mint-ui/lib/style.min.css';
import '../static/mui/css/mui.css';
import '../static/css/site.css';
import vueResource from 'vue-resource';
Vue.use(vueResource);
import common from './kits/common';
import axios from 'axios';
Vue.prototype.$axios=axios;
import VuePreview from 'vue-preview';
Vue.use(VuePreview)

Vue.prototype.common=common
Vue.config.productionTip = false
Vue.filter('datefmt',function(input,fmtstring){
  return moment(input).format(fmtstring)

})
new Vue({
  el: '#app',
  router,
  template: '<App/>',
  components: { App }
})
